#pragma once

class ExtNode
{
public:
    ExtNode() { m_position = -1; }
    ExtNode(int position) { m_position = position; }

    virtual int getBucketPosition() { return m_position; }
    virtual void setBucketPosition(int position) { m_position = position; }
    virtual ExtNode * getLeftChild() { return 0; }
    virtual ExtNode * getRightChild() { return 0; }
    virtual void setLeftChild(ExtNode *leftChild) {}
    virtual void setRightChild(ExtNode *rightChild) {}

private:
    int m_position;
};
